﻿using System;

namespace Ajax
{
    public class AjaxRequestOptions
    {
        public string encoding;
        public string bodyencoding;
        public string method;
        public bool evalJSON;

        public Action<Transport> onSuccess;
        public Action<Transport> onFailure;
    }

    public class Request
    {
        public Request(string url, AjaxRequestOptions options)
        {            
        }
    }
}
